/*
 * @Author: 码上talk|RC
 * @Date: 2020-06-09 23:23:29
 * @LastEditTime: 2020-11-10 15:00:07
 * @LastEditors: 码上talk|RC
 * @Description: 
 * @FilePath: /tacomall-merchant/src/api/modules/user.js
 * @Just do what I think it is right
 */
import { http } from '@/libs/http'

export const user = {
    login: (params = {}, data = {}) => {
        return http.request({
            url: '/merchant/user/login',
            params,
            data
        })
    },
    info: (params = {}, data = {}) => {
        return http.request({
            url: '/merchant/user/info',
            params,
            data
        })
    },
    logout: (params = {}, data = {}) => {
        return http.request({
            url: '/merchant/user/logout',
            params,
            data
        })
    }
}
